﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    Async="true" CodeFile="email-this.aspx.cs" Inherits="car_insurance_email_this" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="cpBody">
    <div id="container">
        <div class="body">
            <div class="topcol">
            </div>
            <div class="body">
                <div class="padding_lr15px">
                    <!-- Column Content | Start -->
                    <div class="col_content_full">
                        <div class="topcol">
                        </div>
                        <div class="body">
                            <div class="padding_lr30px">
                                <div id="container_slider">
                                    <div id="lofslidecontent45" class="lof-slidecontent">
                                        <div class="preload">
                                            <div>
                                            </div>
                                        </div>
                                        <!-- MAIN CONTENT -->
                                        <div class="lof-main-wapper">
                                            <div class="lof-main-item">
                                                <div class="lof-main-item-desc">
                                                    <div class="tx_title21 uppercase">
                                                        <%=GetGlobalResourceObject("CarInsuranceResultPage", "EmailThis")%></div>
                                                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
                                                    <asp:ValidationSummary ID="vsEmailthis" runat="server" ValidationGroup="emailthis"
                                                        ShowSummary="True" HeaderText="<%$ Resources:Menu,RequiredValidation%>" CssClass="errorSummary" />
                                                    <div class="clear">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="seperator_form">
                                            </div>
                                            <div>
                                                <div class="form_col_1 comp left">
                                                    <asp:Label ID="lblGarageType" runat="server" Text="<%$ Resources:CarInsuranceResultPage,EmailTo%>" />
                                                </div>
                                                <div class="form_col_2 left">
                                                    <asp:TextBox ID="txtEmailTo" Width="250" MaxLength="80" runat="server" ValidationGroup="emailthis"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvEmailTo" runat="server" ControlToValidate="txtEmailTo"
                                                        Display="Dynamic" ErrorMessage="" Text="" ValidationGroup="emailthis" CssClass="validationErrorControl">
                                                    </asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revEmailTo" runat="server" ControlToValidate="txtEmailTo"
                                                        Display="Dynamic" ErrorMessage="" CssClass="validationErrorControl" Text=""
                                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="emailthis"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="seperator_form">
                                            </div>
                                            <div>
                                                <div class="form_col_1 comp left">
                                                    <asp:Label ID="Label1" runat="server" Text="<%$ Resources:CarInsuranceResultPage,YourFriendName%>" />
                                                </div>
                                                <div class="form_col_2 left">
                                                    <asp:TextBox ID="txtFriendName" Width="250" MaxLength="80" runat="server" ValidationGroup="emailthis"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvFriendName" runat="server" ControlToValidate="txtFriendName"
                                                        Display="Dynamic" ErrorMessage="" Text="" ValidationGroup="emailthis" CssClass="validationErrorControl">
                                                    </asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="seperator_form">
                                            </div>
                                            <div>
                                                <div class="form_col_1 comp left">
                                                    <asp:Label ID="Label2" runat="server" Text="<%$ Resources:CarInsuranceResultPage,YourEmail%>" />
                                                </div>
                                                <div class="form_col_2 left">
                                                    <asp:TextBox ID="txtEmail" runat="server" Width="250" MaxLength="100" ReadOnly="true"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="seperator_form">
                                            </div>
                                            <div>
                                                <div class="form_col_1 comp left">
                                                    <asp:Label ID="Label3" runat="server" Text="<%$ Resources:CarInsuranceResultPage,YourFullName%>" />
                                                </div>
                                                <div class="form_col_2 left">
                                                    <asp:TextBox ID="txtFullName" Width="250" MaxLength="80" runat="server" ReadOnly="true"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="seperator_form">
                                            </div>
                                            <div>
                                                <asp:Button ID="btnBack" onmousedown="this.className = 'button_back_mousedown';"
                                                    onmouseup="this.className = 'button_back';" onmouseout="this.className = 'button_back';"
                                                    CssClass="button_back" runat="server" Visible="false" AlternateText="Back" ToolTip="Back"
                                                    CausesValidation="False" OnClick="btnBack_Click" />
                                                <asp:Button ID="btnEmailThis" onmousedown="this.className = 'button_next_mousedown';"
                                                    onmouseup="this.className = 'button_next';" onmouseout="this.className = 'button_next';"
                                                    CssClass="button_next" OnClientClick="LoadValidationErrorCss();if (Page_ClientValidate('emailthis')){this.removeAttribute('onmouseout');this.removeAttribute('onmouseup');this.className = 'button_processing';}"
                                                    runat="server" ValidationGroup="emailthis" AlternateText="Emailthis" ToolTip="Email this"
                                                    CausesValidation="true" OnClick="btnEmailThis_Click" />
                                            </div>
                                        </div>
                                        <!-- END MAIN CONTENT -->
                                    </div>

                                    <script type="text/javascript">
                                        var _lofmain = $('lofslidecontent45');
                                        var _lofscmain = _lofmain.getElement('.lof-main-wapper');
                                        var _lofnavigator = _lofmain.getElement('.lof-navigator-outer .lof-navigator');
                                        var object = new LofFlashContent(_lofscmain,
									              _lofnavigator,
									              _lofmain.getElement('.lof-navigator-outer'),
									              { fxObject: { transition: Fx.Transitions.Quad.easeInOut, duration: 800 },
									                  interval: 3000,
									                  direction: 'hrleft'
									              });
                                        object.start(true, _lofmain.getElement('.preload'));
                                    </script>

                                </div>
                            </div>
                        </div>
                        <div class="bottom">
                        </div>
                    </div>
                    <!-- Column Content | End   -->
                </div>
            </div>
            <div class="bottom">
            </div>
        </div>
    </div>
</asp:Content>
